Certification by Intervals of Timestamps in Distributed Database Systems
نویسندگان
چکیده
This paper introduces, as an optimistic concurrency control, a new certification method by means of intervals of timestamps, usable in a distributed database system. The main advantage of this method is that it allows a chronological validation order which differs from the serialization one (thus avoiding rejections or delays of transactions which occur in usual certification methods or in classical locking or timestamping ones). The use of the dependency graph permits both classifying this method among existing ones and proving it. 1. INl'RODUCTION Nunerous Concurrency Control Methods (CCMs) for Distributed Data Bases (DDBs) have been proposed so far [Bernstein 811 using either Two-Phase Locking (2PL) or Timestamp Ordering (TO). The main feature of these CCMs is that the serializability test is made for each action (Read or Prewrite) on an object of the base. For this reason, we call these CCMs continuous ones as opposed to certification (also called optimistic) ones, where the Permission to copy without fee all or part of this material iF granted provided that the copies are not made or distributed for direct commcrciot advantage, the VLDB copyright notice and the title of the publication and its date appear, and notice is given that copying is by pe?mLrsion of the VW Large Data Base Endowment. To copy otherwise, or to republish, requires a fee and/or special permission from the Endowment. Proceedings of the Tenth International Conference on Very Large Data Bases. serializability test is only made at the end of the transaction. Usually, continuous CCMs and certification ones are described in totally different ways. Our study offers a unifying view for this classification. Certification methods [Kunq 811, [Haerder 823, [Lausen 821 have been studied mostly for centralized systems. The few proposals adapted to distributed systems [Badal 791, [Schlageter 811, [Bhargava 821 are not convincing due to lack of formal proofs for their desired behavior. We answer that problem by proving a certification method in a distributed system. Serialization relies on the setting among transactions. principles are used control used in CCMs of a serialization order In continuous CCMs two to construct this order. In 2PL methods [Traiger 821, it is dynamically constructed and corresponds to the order into which transactions reach their maximum locking point. The well known drawback of these methods is useless waiting sometimes imposed to transactions and deadlocks which may occur. Deadlock prevention may be applied [Rosenkrantz 783 at the cost of increasing the number of rejections. In basic or multiversions TO CCMs, the order is "static" and relies upon the giving of a unique timestamp to any transaction, thus defining the serialization order. One study [Bayer 821 refines this technique by introducing the notion of a "dynamic" timestamp which avoids useless rejection of a transaction when its first conflict arises, in a very particular CCM. Control by certification allows a dynamic construction of the serialization Singapore, August, 1984
منابع مشابه
Consensus-based Timestamps in Distributed Temporal Databases
Distributed temporal databases play a very important role in representing and processing data. Because of the independence (autonomy) of the system sites, it often happens that different versions of data, which refer to the same subject, can be generated and stored in these sites. Thus we say that a data conflict takes place. In this paper we deal with solving conflicts of temporal data which r...
متن کاملHandling of Mutual Conflicts in Distributed Databases Using Timestamps
In distributed database systems, it is desirable to allow read and write accesses to occur independently on replicated copies of database files in case of network partitions to increase availability. However, the system should detect mutual conflicts among the copies of the database files when sites from different partitions merge to form one partition. We present a timestampbased algorithm for...
متن کاملWeak Consistency: A Generalized Theory and Optimistic Implementations for Distributed Transactions
Current commercial databases allow application programmers to trade off consistency for performance. However, existing definitions of weak consistency levels are either imprecise or they disallow efficient implementation techniques such as optimism. Ruling out these techniques is especially unfortunate because commercial databases support optimistic mechanisms. Furthermore, optimism is likely t...
متن کاملInvestigation and Comparison of Distributed NoSQL Database Systems
HBase supports the BigTable data model [1] that was originally proposed by Google. Figure 1 illustrates this data model. Data are stored in tables; each table contains multiple rows, and a fixed number of column families. For each row, there can be a various number of qualifiers (columns) within each column family, and at the intersections of rows and qualifiers are table cells. Cell contents a...
متن کاملPoint-Versus Interval-Based Temporal Data Models
The association of timestamps with various data items such as tuples or attribute values is fundamental to the management of time-varying information. Using intervals in timestamps, as do most data models, leaves a data model with a variety of choices for giving a meaning to timestamps. Specifically, some such data models claim to be point-based while other data models claim to be interval-base...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1984